package com.mxl.service.cashorder.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mxl.dao.cashorder.impl.SequenceDaoImpl;
import com.mxl.service.cashorder.SequenceService;

@Service("sequenceService")
public class SequenceServiceImpl implements SequenceService {

	@Resource(name = "sequenceDao")
	private SequenceDaoImpl sequenceDao;

	public String updateSeqNo(String name) {
		return sequenceDao.getNextSeq(name);
	}

}
